<ul class="am-avg-sm-5 dux-tabs">
    <li class="{$type == 0 ? 'active' : 0}">
        <a href="{url('')}">全部</a>
    </li>
    <li class="{$type == 1 ? 'active' : 0}">
        <a href="{url('', ['type' => 1])}">待付款</a>
    </li>
    <li class="{$type == 2 ? 'active' : 0}">
        <a href="{url('', ['type' => 2])}">待发货</a>
    </li>
    <li class="{$type == 3 ? 'active' : 0}">
        <a href="{url('', ['type' => 3])}">待收货</a>
    </li>

    <li class="{$type == 4 ? 'active' : 0}">
        <a href="{url('', ['type' => 4])}">待评价</a>
    </li>
</ul>
<!--if{empty($pageList)}-->
<div class="dux-box am-padding am-text-center">
    暂无订单
</div>
<!--{/if}-->

<div class="dux-pro-list">
    <!--loop{$pageList as $vo}-->
    <div class="order-head am-cf">
        <div class="am-fl"><a href="{$vo.order_seller_url}">{$vo.order_seller_name}</a> </div>
        <div class="am-fr am-text-danger">{$vo.status_data.name}</div>
    </div>
    <!--loop{$vo.order_items as $k => $item}-->
        <a class="am-cf dux-pro-item" href="{url('info', ['order_no' => $vo['order_no']])}">
            <div class="item-img">
                <img src="{$item.goods_image}">
            </div>
            <div class="item-info">
                <div class="title">{$item.goods_name}</div>
                <p>
                    <!--loop{(array)$item.goods_options as $v}-->
                    {$v.value}
                    <!--{/loop}-->
                </p>
                <p class="am-text-danger">
                        {$item.goods_price}元
                        <!--if{$item.goods_currency}-->
                         {$item.goods_currency.type ? '/' : '×'} {$item.goods_currency.amount}{$item.goods_currency.name}
                        <!--{/if}-->
                        × {$item.goods_qty}
                </p>
            </div>
        </a>
    <!--{/loop}-->

    <div class="order-foot">
        总计：<span class="am-text-danger">￥{$vo.total_price}</span>
        <!--loop{$vo.order_currency as $k => $v}-->
        <!--if{$v.pay_type || !$v.type}-->
        + <span class="am-text-danger">{$v.amount}</span>{$v.name}
        <!--{else}-->
        + (<span class="am-text-danger">{$v.money}</span>元/<span class="am-text-danger">{$v.amount}</span>{$v.name})
        <!--{/if}-->
        <!--{/loop}-->
        (含运费￥{$vo.delivery_price})
    </div>
    <div class="order-opt">
        {$vo.status_data.html}
    </div>
    <!--{/loop}-->
</div>

<div class="dux-pages am-cf">
    {$page}
</div>

